Kostas Papadimas [Tue, 2 Mar 2004 19:25:10 +0000 (19:25 +0000)]
Updated the Greek translation
Owen Taylor [Tue, 2 Mar 2004 18:56:10 +0000 (18:56 +0000)]
Always connect to the changed signals on the model, update the active item
Tue Mar 2 11:45:50 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcombobox.c: Always connect to the changed
signals on the model, update the active item as
appropriate when rows are inserted/deleted/reordered,
re-layout the menu on ::rows-reordered.
* gtk/gtkcellview.c (gtk_cell_view_set_displayed_row):
Allow %NULL for path to unset and leave no current
path.
Matthias Clasen [Tue, 2 Mar 2004 18:53:55 +0000 (18:53 +0000)]
Position the popup above the sample if there is not enough room below.
Tue Mar 2 19:54:53 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_position): Position
the popup above the sample if there is not enough room below.
Part of #135543.
Tue Mar 2 19:53:36 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make the
frame for the list mode etched in, to give the popup a slightly
less flat appearance.
Tue Mar 2 17:55:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.def: Add gtk_combo_box_entry_new_text().
Morten Welinder [Tue, 2 Mar 2004 17:03:04 +0000 (17:03 +0000)]
Don't scale images that are small enough to fit. Avoid using incompatibly
2004-03-02 Morten Welinder <terra@gnome.org>
* tests/testfilechooser.c (size_prepared_cb): Don't scale images
that are small enough to fit. Avoid using incompatibly typed data
pointer.
Morten Welinder [Tue, 2 Mar 2004 16:14:53 +0000 (16:14 +0000)]
Major thinko, trivial patch. /me chances a commit.
2004-03-02 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_resizable_hints): Test the
resize_horizontally pointer, not the deferenced pointer.
Changwoo Ryu [Tue, 2 Mar 2004 15:57:41 +0000 (15:57 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Miloslav Trmac [Tue, 2 Mar 2004 12:47:23 +0000 (12:47 +0000)]
Update Czech translation
Laurent Dhima [Tue, 2 Mar 2004 09:17:08 +0000 (09:17 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Tue, 2 Mar 2004 09:15:57 +0000 (09:15 +0000)]
Updated
Alessio Frusciante [Tue, 2 Mar 2004 09:02:06 +0000 (09:02 +0000)]
Updated Italian translation.
Paisa Seeluangsawat [Tue, 2 Mar 2004 07:17:45 +0000 (07:17 +0000)]
Updated Thai translation.
2004-03-02 Paisa Seeluangsawat <paisa@users.sf.net>
* th.po: Updated Thai translation.
Federico Mena Quintero [Tue, 2 Mar 2004 05:27:51 +0000 (05:27 +0000)]
New flag shortcuts_current_folder_is_volume.
2004-03-01 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): New
flag shortcuts_current_folder_is_volume.
(shortcuts_add_current_folder): Set
impl->shortcuts_current_folder_is_volume as appropriate.
(remove_current_folder_cb): Handle the flag.
(shortcuts_activate_item): Likewise.
(shortcuts_update_current_folder): Handle the
impl->shortcuts_current_folder_active flag; only add the folder if
it doesn't already exist in the list.
(shortcuts_model_create): Don't insert the current folder
separator here.
(shortcuts_add_current_folder): Insert the separator here.
(shortcut_find_position): Renamed from shortcut_exists(); now
returns an index.
(shortcuts_add_current_folder): Set the active item in the combo.
Federico Mena Quintero [Tue, 2 Mar 2004 03:16:57 +0000 (03:16 +0000)]
Updated - Federico
Federico Mena Quintero [Tue, 2 Mar 2004 03:06:07 +0000 (03:06 +0000)]
Eep, use gtk_tree_model_filter_convert_iter_to_child_iter(), not the
2004-03-01 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Eep,
use gtk_tree_model_filter_convert_iter_to_child_iter(), not the reverse.
Federico Mena Quintero [Tue, 2 Mar 2004 02:59:02 +0000 (02:59 +0000)]
Don't unref an old model; there isn't one. This was a leftover from when
2004-03-01 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Don't
unref an old model; there isn't one. This was a leftover from
when we recreated the model on every change.
(save_widgets_create): Create the save folder combo.
(shortcuts_model_create): Don't set the model on the tree view
here.
(gtk_file_chooser_default_constructor): Create the shortcuts model
here, before the rest of the widgets.
(shortcuts_list_create): Don't call shortcuts_model_create() here;
just set the model on the tree.
(save_folder_combo_create): New function, provided by Jonathan
Blandford.
(update_appearance): Set the sensitivity of the folder combo.
(shortcuts_activate_iter): New helper function; code moved from
shortcuts_row_activated_cb().
(shortcuts_activate_item): New helper function.
(shortcuts_row_activated_cb): Use shortcuts_activate_iter().
(ShortcutsIndex): Renamed SHORTCUTS_SEPARATOR to
SHORTCUTS_BOOKMARKS_SEPARATOR.
(struct _GtkFileChooserDefault): New field shortcuts_current_folder_active.
(shortcuts_insert_separator): Add a position argument.
(shortcuts_get_index): Handle the SHORTCUTS_CURRENT_FOLDER_SEPARATOR
and SHORTCUTS_CURRENT_FOLDER positions.
(shortcut_exists): Ignore the current folder row.
(struct _GtkFileChooserDefault): New field shortcuts_filter_model.
(shortcuts_model_create): Create a filter model for the shortcuts list.
(shortcuts_list_create): Set the model to the shortcuts_filter_model.
(remove_bookmark_button_clicked_cb): Use the shortcuts_filter_model.
(bookmarks_check_remove_sensitivity): Likewise.
(shortcuts_row_activated_cb): Likewise.
(gtk_file_chooser_default_set_current_folder): New function.
(gtk_file_chooser_default_set_current_folder): Update the current
folder row in the shortcuts list.
* gtk/gtkfilechooserwidget.c
(gtk_file_chooser_widget_constructor): Cast correctly for
_gtk_file_chooser_embed_set_delegate().
Owen Taylor [Tue, 2 Mar 2004 00:45:33 +0000 (00:45 +0000)]
Add gtk_drag_source_set/get_target_list(). (#127499, based on patch from
Mon Mar 1 19:30:25 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.[ch]: Add gtk_drag_source_set/get_target_list().
(#127499, based on patch from Michael Natterer)
* tests/testgtk.c: Fix bidi strings to display correctly
with new auto-bidi.
Matthias Clasen [Tue, 2 Mar 2004 00:33:23 +0000 (00:33 +0000)]
Remove the include of Xft.h, which is already dragged in via pangoxft.h.
Tue Mar 2 01:34:40 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtksettings.c: Remove the include of Xft.h, which is already
dragged in via pangoxft.h. (#135496, David Hawthorne)
Tim Janik [Tue, 2 Mar 2004 00:04:36 +0000 (00:04 +0000)]
expose gtk_bindings_activate_event(), changed callers.
Mon Mar 1 23:52:15 2004 Tim Janik <timj@gtk.org>
* gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed
callers.
* gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose
the key event propagation mechanism used for focus widgets.
(gtk_window_key_release_event): use the same key event propagation logic
as gtk_window_key_press_event().
Simon Budig [Mon, 1 Mar 2004 23:59:36 +0000 (23:59 +0000)]
X11 R6.4 specifies 15 events for the XInput extension. We want to see them
2004-03-01 Simon Budig <simon@gimp.org>
* gdk/x11/gdkinput-x11.c: X11 R6.4 specifies 15 events
for the XInput extension. We want to see them all.
We now get Proximity Out events again. Fixes bug #135320.
Matthias Clasen [Mon, 1 Mar 2004 23:45:04 +0000 (23:45 +0000)]
Use case-insensitive comparison. Fixes XIM module loading on AIX.
Tue Mar 2 00:47:21 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkimmodule.c (match_locale): Use case-insensitive
comparison. Fixes XIM module loading on AIX. (#131277)
Matthias Clasen [Mon, 1 Mar 2004 23:34:08 +0000 (23:34 +0000)]
Make it work correctly when the child model is cleared completely.
Mon Mar 1 23:59:18 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
Make it work correctly when the child model is cleared
completely. (#121633)
Michael Natterer [Mon, 1 Mar 2004 22:06:04 +0000 (22:06 +0000)]
removed accidentially committed char which broke the build.
2004-03-01 Michael Natterer <mitch@gimp.org>
* gtk/gtkfilechooserwidget.h: removed accidentially committed char
which broke the build.
Jonathan Blandford [Mon, 1 Mar 2004 21:52:04 +0000 (21:52 +0000)]
only store the size if we can resize in that direction.
Mon Mar 1 16:51:21 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdialog.c
(file_chooser_widget_default_size_changed): only store the size if
we can resize in that direction.
Jonathan Blandford [Mon, 1 Mar 2004 21:35:25 +0000 (21:35 +0000)]
new function. Long name.
Mon Mar 1 16:32:52 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserwidget.c
(gtk_file_chooser_widget_new_with_backend): new function. Long
name.
Christian Rose [Mon, 1 Mar 2004 21:21:20 +0000 (21:21 +0000)]
Updated Swedish translation.
2004-03-01 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Morten Welinder [Mon, 1 Mar 2004 20:07:26 +0000 (20:07 +0000)]
Only stat when needed.
2004-03-01 Morten Welinder <terra@gnome.org>
* gtk/gtkfilesystemunix.c (filename_get_info): Only stat when
needed.
Morten Welinder [Mon, 1 Mar 2004 19:48:28 +0000 (19:48 +0000)]
Simplify semantics and check for errors.
2004-03-01 Morten Welinder <terra@gnome.org>
* gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
semantics and check for errors.
* gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.
* gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
display_name is NULL.
Owen Taylor [Mon, 1 Mar 2004 19:40:47 +0000 (19:40 +0000)]
Based on patch by Alex Larsson
Mon Mar 1 14:16:52 2004 Owen Taylor <otaylor@redhat.com>
Based on patch by Alex Larsson
* gtk/gtkfilechooserdefault.c: Use gtk-file-chooser-backend
GtkSetting to set the backend if the app doesn't specify one.
* gdk/x11/gdkevents-x11.c gtk/gtksettings.c:
Add Gtk/FileChooserBackend.
Tim Janik [Mon, 1 Mar 2004 19:33:59 +0000 (19:33 +0000)]
- exit with $? instead of 1 in case of failure - exit with $? if
Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org>
* autogen.sh:
- exit with $? instead of 1 in case of failure
- exit with $? if ./configure failed
(that's so autogen.sh && make lines work)
- removed --enable-gtk-doc option
- added $AUTOGEN_CONFIGURE_ARGS
Tim Janik [Mon, 1 Mar 2004 18:29:15 +0000 (18:29 +0000)]
- exit with $? instead of 1 in case of failure
- exit with $? if ./configure failed
(that's so autogen.sh && make lines work)
- removed --enable-gtk-doc option
- added $AUTOGEN_CONFIGURE_ARGS
Federico Mena Quintero [Mon, 1 Mar 2004 18:24:06 +0000 (18:24 +0000)]
Test for filter_info.uri correctly. Fixes #135379, pointed out by Damon
2004-03-01 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (list_model_filter_func): Test for
filter_info.uri correctly. Fixes #135379, pointed out by Damon
Chaplin.
(shortcuts_get_index): Compute the bookmarks index correctly.
Fixes #135714, pointed out by Damon Chaplin.
(gtk_file_chooser_default_list_shortcut_folders): Handle the case
with no shortcuts, and don't run off the end of the list if there
are no bookmarks and their separator. Fixes #135572, patch by
Damon Chaplin.
Owen Taylor [Mon, 1 Mar 2004 18:10:40 +0000 (18:10 +0000)]
Handle dynamically resolved bidi direction when drawing the cursor.
Mon Mar 1 12:23:06 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c: Handle dynamically resolved bidi direction
when drawing the cursor. (#118541)
* gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir;
* gtk/gtkentry.c (draw_insertion_cursor): Fix up
some confusion in parameter ordering.
Jonathan Blandford [Mon, 1 Mar 2004 17:08:19 +0000 (17:08 +0000)]
Handle shrinking/growing.
Mon Mar 1 12:05:54 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdialog.c
(file_chooser_widget_resizable_hints_changed): Handle
shrinking/growing.
Michael Natterer [Mon, 1 Mar 2004 16:25:45 +0000 (16:25 +0000)]
removed underscores from calls to gtk_text_btree_resolve_bidi().
2004-03-01 Michael Natterer <mitch@gimp.org>
* gtk/gtktextbtree.c: removed underscores from calls to
gtk_text_btree_resolve_bidi().
Owen Taylor [Mon, 1 Mar 2004 16:07:45 +0000 (16:07 +0000)]
Patch from Dov Grobgeld to implement auto-bidi-direction for GtkTextView
Mon Mar 1 10:41:27 2004 Owen Taylor <otaylor@redhat.com>
Patch from Dov Grobgeld to implement auto-bidi-direction
for GtkTextView (#118543)
* gtk/gtktextbtree.[ch]: Resolve bidi base direction
for each line by propagating backwards/forwards as
necessary.
* gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the
bidi base direction for the ;ine with the cursor from
the keyboard direction. Add gtk_text_layout_set_keyboard_direction().
Mon Mar 1 10:31:11 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.[ch]: Implement auto-bidi-direction,
based on a patch from Dov Grobgeld. (#118540)
Owen Taylor [Mon, 1 Mar 2004 15:40:51 +0000 (15:40 +0000)]
Implement auto-bidi-direction, based on a patch from Dov Grobgeld.
Mon Mar 1 10:31:11 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c: Implement auto-bidi-direction,
based on a patch from Dov Grobgeld. (#118540)
Miloslav Trmac [Mon, 1 Mar 2004 15:23:10 +0000 (15:23 +0000)]
Update Czech translation
Laurent Dhima [Mon, 1 Mar 2004 13:28:51 +0000 (13:28 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Mon, 1 Mar 2004 13:27:30 +0000 (13:27 +0000)]
Updated
Danilo Å egan [Mon, 1 Mar 2004 12:42:34 +0000 (12:42 +0000)]
Updated Serbian translations.
Changwoo Ryu [Mon, 1 Mar 2004 08:17:22 +0000 (08:17 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Christian Rose [Mon, 1 Mar 2004 07:51:21 +0000 (07:51 +0000)]
Updated Swedish translation.
2004-03-01 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Adam Weinberger [Mon, 1 Mar 2004 04:16:54 +0000 (04:16 +0000)]
Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
Owen Taylor [Mon, 1 Mar 2004 03:30:27 +0000 (03:30 +0000)]
Add gtk_entry_set_alignment() to allow right-aligned entries and a
Sun Feb 29 22:01:49 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.[ch]: Add gtk_entry_set_alignment()
to allow right-aligned entries and a "xalign"
property. (#59799, patch from Egon Andersen and
Steffen Gutmann)
* gtk/gtkmisc.c (gtk_misc_class_init): Use improved
xalign property description here too.
* tests/testtext.c: UNDERLINE_ERROR test addition
from Nicolas Settons' patch.
Danilo Å egan [Mon, 1 Mar 2004 02:23:41 +0000 (02:23 +0000)]
Updated Serbian translation.
Owen Taylor [Mon, 1 Mar 2004 01:41:17 +0000 (01:41 +0000)]
export gtk_window_activate_key() (Request from Tim Janik)
Sun Feb 29 20:34:06 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export
gtk_window_activate_key() (Request from Tim Janik)
Danilo Å egan [Mon, 1 Mar 2004 00:32:28 +0000 (00:32 +0000)]
Updated Serbian translation.
Matthias Clasen [Mon, 1 Mar 2004 00:01:46 +0000 (00:01 +0000)]
Make DND operations within a buffer move the dragged text instead of
Mon Mar 1 01:00:11 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (gtk_text_view_drag_data_received):
Make DND operations within a buffer move the dragged
text instead of copying it; also make DND operations
a single user action for undo purposes. (#135191,
#93139, reported by Tommi Komulainen, patch by Paolo
Borelly and Paolo Maggi)
Matthias Clasen [Sun, 29 Feb 2004 23:47:20 +0000 (23:47 +0000)]
ews for 2.3.5.
Matthias Clasen [Sun, 29 Feb 2004 22:22:12 +0000 (22:22 +0000)]
Fix the Shift-Tab support to go backwards.
Sun Feb 29 23:25:35 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_completion_key_press):
Fix the Shift-Tab support to go backwards.
Christophe Merlet [Sun, 29 Feb 2004 21:44:52 +0000 (21:44 +0000)]
Updated French translation.
Owen Taylor [Sun, 29 Feb 2004 21:43:14 +0000 (21:43 +0000)]
Fix capitalization to match other style properties.
Sun Feb 29 16:40:40 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_class_init): Fix
capitalization to match other style properties.
Owen Taylor [Sun, 29 Feb 2004 21:41:23 +0000 (21:41 +0000)]
Fix a typo in property string.
Sun Feb 29 16:38:53 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_class_init): Fix a
typo in property string.
Owen Taylor [Sun, 29 Feb 2004 21:39:18 +0000 (21:39 +0000)]
Implement PANGO_UNDERLINE_ERROR (Based on a patch by Nicolas Setton,
Sun Feb 29 16:35:23 2004 Owen Taylor <otaylor@redhat.com>
* gdk/gdkpango.c gtk/gtktextdisplay.c: Implement
PANGO_UNDERLINE_ERROR (Based on a patch by
Nicolas Setton, #114237)
* gtk/gtktextview.c: Add a error-underline-color style
property.
Christian Rose [Sun, 29 Feb 2004 19:37:28 +0000 (19:37 +0000)]
Updated Swedish translation.
2004-02-29 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Alessio Frusciante [Sun, 29 Feb 2004 18:32:00 +0000 (18:32 +0000)]
Updated Italian translation.
Soeren Sandmann [Sun, 29 Feb 2004 18:21:57 +0000 (18:21 +0000)]
New internal function returning a good step value for the mouse wheel. For
Sun Feb 29 19:04:33 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal
function returning a good step value for the mouse wheel. For
scrollbars, base the step on page_size^(2/3), for other ranges,
use 2 * step_increment.
* gtk/gtkrange.c (gtk_range_scroll_event): Use it here ...
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event):
... and here.
* gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning.
Arafat medini [Sun, 29 Feb 2004 11:30:09 +0000 (11:30 +0000)]
Updated Arabic translation.
2004-02-29 Arafat medini <lumina@silverpen.de>
* ar.po: Updated Arabic translation.
Jonathan Blandford [Sun, 29 Feb 2004 07:55:24 +0000 (07:55 +0000)]
Add g_return_if_fail() (_gtk_file_chooser_embed_get_resizable_hints): Add
Sun Feb 29 01:51:27 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooserembed.c
(_gtk_file_chooser_embed_get_default_size): Add g_return_if_fail()
(_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail()
* gtk/gtkfilechooserdialog.c
(file_chooser_widget_default_size_changed): Get the correct
initial size for the dialog. Also, don't bother with
gtk_window_set_default_size(). It's not really meaningful.
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_default_size): Get the correct
spacing for the preview_widget
(update_preview_widget_visibility): Clear widget field after we
destroy it.
Funda Wang [Sun, 29 Feb 2004 06:51:34 +0000 (06:51 +0000)]
Updated zh_CN translation
Federico Mena Quintero [Sun, 29 Feb 2004 06:35:15 +0000 (06:35 +0000)]
Handle GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
2004-02-29 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_property): Handle
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
(gtk_file_chooser_default_get_property): Likewise.
(struct _GtkFileChooserDefault): Added fields for preview_label,
use_preview_label, preview_display_name, preview_box. Removed
preview_frame.
(set_preview_widget): Reorder the widget in relation to the label.
(update_preview_widget_visibility): Create or destroy the preview
label.
(check_preview_change): Update impl->preview_display_name and the
label.
(find_good_size_from_style): Use the preview_box.
(gtk_file_chooser_default_finalize): Free
impl->preview_display_name.
(gtk_file_chooser_default_init): Initialize
impl->use_preview_label.
* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
"use-preview-label" property.
(gtk_file_chooser_set_use_preview_label): New function. This sets
whether one wants the file chooser to display a stock label with
the previewed filename. Apps that do really fancy previews can
turn this off and draw the name themselves.
(gtk_file_chooser_get_use_preview_label): New function.
(gtk_file_chooser_get_preview_widget_active): Documentation fix.
* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value.
* gtk/gtkfilechooserutils.c
(_gtk_file_chooser_install_properties): Override the
"use-preview-label" property.
Matthias Clasen [Sun, 29 Feb 2004 03:41:42 +0000 (03:41 +0000)]
Make Tab and Shift-Tab work when the completion popup is shown.
Sun Feb 29 04:43:29 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_completion_key_press): Make Tab and
Shift-Tab work when the completion popup is shown.
Federico Mena Quintero [Sun, 29 Feb 2004 02:59:05 +0000 (02:59 +0000)]
Use "Name" for the title of the filename column. (create_file_list):
2004-02-28 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (create_folder_tree): Use "Name" for
the title of the filename column.
(create_file_list): Likewise.
Matthias Clasen [Sun, 29 Feb 2004 02:30:37 +0000 (02:30 +0000)]
Fix Page_Up and Page_Down in the completion popup to move page-wise if
Sun Feb 29 03:31:42 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_completion_key_press): Fix Page_Up
and Page_Down in the completion popup to move page-wise if we're
scrolling.
Federico Mena Quintero [Sun, 29 Feb 2004 02:16:58 +0000 (02:16 +0000)]
Removed. (list_name_data_func): Don't call the function above.
2004-02-28 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (set_cell_text_bold_if_folder):
Removed.
(list_name_data_func): Don't call the function above.
(list_mtime_data_func): Likewise.
Matthias Clasen [Sun, 29 Feb 2004 01:33:01 +0000 (01:33 +0000)]
New function which calculates position and size for the popup in list
Sun Feb 29 02:34:35 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_position): New
function which calculates position and size for the popup in
list mode. Currently it only pushes the popup horizontally
into the screen.
Matthias Clasen [Sun, 29 Feb 2004 00:08:04 +0000 (00:08 +0000)]
Implement the previous fix in a better way, small cleanups.
Sun Feb 29 01:10:09 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c: Implement the previous fix in a better way,
small cleanups.
Hans Breuer [Sat, 28 Feb 2004 23:36:11 +0000 (23:36 +0000)]
applied patch from J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641
2004-02-28 Hans Breuer <hans@breuer.org>
* gtk/gtkfilesystemwin32.c : applied patch from
J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641
Matthias Clasen [Sat, 28 Feb 2004 22:28:37 +0000 (22:28 +0000)]
Actually resize the popup window before popping up. (#135651)
Sat Feb 28 23:30:36 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_popup): Actually resize the
popup window before popping up. (#135651)
Sat Feb 28 23:29:35 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_class_init):
* gtk/gtkcombobox.c (gtk_combo_box_init): Override the default
handler for style_set in class_init instead of connecting to
the signal in init. (noticed by Yosh).
Owen Taylor [Sat, 28 Feb 2004 20:00:24 +0000 (20:00 +0000)]
#ifdef HAVE_FLOCKFILE, not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali
Sat Feb 28 14:48:35 2004 Owen Taylor <otaylor@redhat.com>
* demos/gtk-demo/main.c (read_line): #ifdef HAVE_FLOCKFILE,
not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali Harlow)
Pauli Virtanen [Sat, 28 Feb 2004 17:56:31 +0000 (17:56 +0000)]
Updated Finnish translation.
2004-02-28 Pauli Virtanen <pauli.virtanen@hut.fi>
* fi.po: Updated Finnish translation.
Hans Breuer [Sat, 28 Feb 2004 15:09:27 +0000 (15:09 +0000)]
adapt to add -> insert_bookmark change. Also merged some crossplatform
2004-02-28 Hans Breuer <hans@breuer.org>
* gtk/gtkfilesystemwin32.c : adapt to add -> insert_bookmark
change. Also merged some crossplatform code from
gtkfilesystemunix.c
* gtk/gtk.def : updated externals
* gtk/makefile.msc.in : added gtkfilechooserembed.obj
Hans Breuer [Sat, 28 Feb 2004 13:21:25 +0000 (13:21 +0000)]
set current_dest_drag to NULL when destroying, fixes bug #120007. Also
2004-02-28 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkdnd-win32.c : set current_dest_drag to NULL
when destroying, fixes bug #120007. Also removed the mirrored
ref counting for deprecated gdk_drag_context_<ref|unref>()
cause it wasn't reliable anymore anyway.
* gdk/win32/gdkdisplay-win32.c : fix typo, which should
have broken the win32 build for everyone not using msvc
* gdk/win32/gdkevents-win32.c : WM_GETMINAMXINFO ensure not to
return negative values for ptMaxTrackSize, it caused snapping
windows to their minimum size
Hans Breuer [Sat, 28 Feb 2004 13:17:53 +0000 (13:17 +0000)]
include <io.h> for lseek() use HAVE_UNISTD_H
2004-02-28 Hans Breuer <hans@breuer.org>
* io-tiff.c : include <io.h> for lseek()
* io-xbm.c : use HAVE_UNISTD_H
Vincent van Adrighem [Sat, 28 Feb 2004 12:29:26 +0000 (12:29 +0000)]
Translation updated by Tino Meinen.
2004-02-28 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Jonathan Blandford [Sat, 28 Feb 2004 04:27:23 +0000 (04:27 +0000)]
remove conflict marker
Matthias Clasen [Sat, 28 Feb 2004 00:40:00 +0000 (00:40 +0000)]
Support switching back to non-gridded mode. (#135169)
Sat Feb 28 01:39:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Support
switching back to non-gridded mode. (#135169)
Fri Feb 27 22:29:46 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_can_activate_accel): Add "Since: 2.4".
Matthias Clasen [Sat, 28 Feb 2004 00:10:21 +0000 (00:10 +0000)]
Forgotten ChangeLog.
Matthias Clasen [Sat, 28 Feb 2004 00:09:48 +0000 (00:09 +0000)]
Include migrating-GtkComboBox.sgml.
Sat Feb 28 01:11:53 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-docs.sgml: Include migrating-GtkComboBox.sgml.
Sat Feb 28 01:11:34 2004 Matthias Clasen <maclas@gmx.de>
* gtk/Makefile.am (content_files): Add migrating-GtkComboBox.sgml.
Fri Feb 27 22:54:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-docs.sgml: Sort deprecated widgets alphabetically.
Jonathan Blandford [Fri, 27 Feb 2004 23:52:46 +0000 (23:52 +0000)]
Whoops. Didn't mean to commit the size change.
Fri Feb 27 18:52:19 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_style_set):
Whoops. Didn't mean to commit the size change.
Jonathan Blandford [Fri, 27 Feb 2004 23:51:16 +0000 (23:51 +0000)]
New private interface to help negotiate the default size of the widget.
Fri Feb 27 18:46:27 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserembed.h: New private interface to help
negotiate the default size of the widget. Still a bit buggy, but
better than the old behavior.
* gtk/gtkfilechooserdefault.c: Implement the embed interface.
* gtk/gtkfilechooserwidget.c: Proxy the embed interface.
* gtk/gtkfilechooserdialog.c: Use the embed interface.
Federico Mena Quintero [Fri, 27 Feb 2004 22:06:40 +0000 (22:06 +0000)]
Put explicit <link> elements instead of #Symbol, because the latter
2004-02-27 Federico Mena Quintero <federico@ximian.com>
* gtk/migrating-GtkAction.sgml: Put explicit <link> elements
instead of #Symbol, because the latter doesn't get substituted by
gtk-doc outside of template files. Thanks to Matthias for
pointing this out.
* gtk/migrating-GtkFileChooser.sgml: Likewise.
* gtk/gtk-sections.txt: Removed gtk_file_chooser_{set,get}_folder_mode.
Matthias Clasen [Fri, 27 Feb 2004 21:48:00 +0000 (21:48 +0000)]
Add some more deprecation notes. Suppress link in example.
Fri Feb 27 22:51:35 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkoptionmenu.sgml:
* gtk/tmpl/gtkcombo.sgml: Add some more deprecation notes.
* gtk/tmpl/gtkfilechooser.sgml: Suppress link in example.
Paisa Seeluangsawat [Fri, 27 Feb 2004 21:36:58 +0000 (21:36 +0000)]
Updated Thai translation.
2004-02-27 Paisa Seeluangsawat <paisa@users.sf.net>
* th.po: Updated Thai translation.
Federico Mena Quintero [Fri, 27 Feb 2004 20:48:22 +0000 (20:48 +0000)]
Added a "position" argument.
2004-02-27 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesystem.c (gtk_file_system_insert_bookmark): Added a
"position" argument.
* gtk/gtkfilesystem.h (GtkFileSystemError): Added value for
GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS.
(struct _GtkFileSystemIface): Added a "position" argument to the
::insert_bookmark() method.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
Updated; renamed from gtk_file_system_unix_add_bookmark(). Return
an error if the path already exists in the bookmarks list.
(gtk_file_system_unix_remove_bookmark): Return an error if the
path does not exist in the bookmarks list.
* gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
For now, use gtk_file_system_insert_bookmark() with -1 for the
position. DnD will come next.
Matthias Clasen [Fri, 27 Feb 2004 20:41:14 +0000 (20:41 +0000)]
Simplify, only create a new setup if appearance actually changed.
Fri Feb 27 21:42:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_relayout):
* gtk/gtkcombobox.c (gtk_combo_box_style_set): Simplify, only
create a new setup if appearance actually changed.
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear):
* gtk/gtkcombobox.c (gtk_combo_box_get_cell_info): Make
these more robust. (#127623, Damon Chaplin)
Jonathan Blandford [Fri, 27 Feb 2004 20:08:53 +0000 (20:08 +0000)]
remove folder-mode property.
Fri Feb 27 15:06:00 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): remove
folder-mode property.
* gtk/gtkfilechooserutils.c
(_gtk_file_chooser_install_properties): remove FOLDER_MODE property.
Federico Mena Quintero [Fri, 27 Feb 2004 19:31:01 +0000 (19:31 +0000)]
Inform about gtk_file_chooser_set_action().
2004-02-27 Federico Mena Quintero <federico@ximian.com>
* gtk/migrating-GtkFileChooser.sgml: Inform about
gtk_file_chooser_set_action().
Francisco Javier F. Serrador [Fri, 27 Feb 2004 14:28:40 +0000 (14:28 +0000)]
Updated Spanish translation.
2004-02-27 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Priit Laes [Fri, 27 Feb 2004 10:15:18 +0000 (10:15 +0000)]
Translation updated.
2004-02-27 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated.
Priit Laes [Fri, 27 Feb 2004 09:13:41 +0000 (09:13 +0000)]
Translation updated.
2004-02-27 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated.
Dmitry Mastrukov [Fri, 27 Feb 2004 05:18:48 +0000 (05:18 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Manish Singh [Fri, 27 Feb 2004 01:38:16 +0000 (01:38 +0000)]
Add function declaration for gtk_combo_box_list_remove_grabs().
Thu Feb 26 17:38:40 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkcombobox.c: Add function declaration for
gtk_combo_box_list_remove_grabs().
Matthias Clasen [Fri, 27 Feb 2004 01:34:11 +0000 (01:34 +0000)]
Classifiy Page Up/Down as cursor move, but not Home and End.
Fri Feb 27 02:33:21 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
cursor move, but not Home and End.
* gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
jump to the ends of the list, not Home and End - since we're not
scrolling yet, a "page" is always the complete list. (#127430, Marco
Pesenti Gritti)
Fri Feb 27 00:39:11 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
* gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
the priv pointers dangle. (#127623, Damon Chaplin)
Manish Singh [Fri, 27 Feb 2004 01:31:16 +0000 (01:31 +0000)]
fix ytpo: s/eles/else/
Thu Feb 26 17:31:34 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
Owen Taylor [Fri, 27 Feb 2004 00:56:04 +0000 (00:56 +0000)]
Add xsettings_client_set_grab_func, Add xsettings_client_set_ungrab_func
Thu Feb 26 19:53:32 2004 Owen Taylor <otaylor@redhat.com>
* gdk/x11/xsettings-common.h (xsettings_client_process_event):
Add xsettings_client_set_grab_func,
Add xsettings_client_set_ungrab_func to the list of renames.
Owen Taylor [Fri, 27 Feb 2004 00:52:45 +0000 (00:52 +0000)]
Fix memory leak in case of mismatched property type.
Thu Feb 26 19:48:39 2004 Owen Taylor <otaylor@redhat.com>
* gdk/x11/xsettings-client.c (read_settings): Fix memory leak
in case of mismatched property type.
Jonathan Blandford [Thu, 26 Feb 2004 23:35:05 +0000 (23:35 +0000)]
Add two more folder modes to the enum.
Thu Feb 26 18:25:57 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
modes to the enum.
* gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove.
(gtk_file_chooser_get_folder_mode): Remove
Ole Laursen [Thu, 26 Feb 2004 23:24:54 +0000 (23:24 +0000)]
Updated Danish translation.
2004-02-27 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Owen Taylor [Thu, 26 Feb 2004 22:53:50 +0000 (22:53 +0000)]
Return GDK_FILTER_CONTINUE for unhandled message types.
Thu Feb 26 17:29:04 2004 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Return
GDK_FILTER_CONTINUE for unhandled message types.
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Allow
multiple filters for the same event type with the standard
"GDK_FILTER_CONTINUE == pretend I wasn't here" semantics.
* gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
Append to the filter list not prepend, since order now matters.
* gdk/win32/gdkevents-win32.c (gdk_add_client_message_filter):
Append to the filter list not prepend, since order now matters.